﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ItemDetail.aspx.cs"
    MasterPageFile="~/PortalParts/PageMoreGrassroots.Master" Inherits="ZHDJ.Web.Portal.Grassroots.ItemDetail" %>

<%@ Import Namespace="ZHDJ.WebPage" %>


<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="../../Resource/js/Nailthumb/jquery.nailthumb.1.1.min.css" rel="stylesheet" />
    <script src="../../Resource/js/Nailthumb/jquery.nailthumb.1.1.min.js"></script>
    <script>
      
        var initImgSize = function () {
            $('.nailthumb-container').each(function (i, n) {
                $(n).nailthumb({ width: 122, height: 145, method: 'resize', fitDirection: 'center center' });
            });
        }
                
        $(function () {
            initImgSize();
        });
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="party-navigation" style="display: none;">
        当前位置：<a href="/Default.aspx">首页</a> > <a href="Default.aspx">驻点直联工作</a> > <a href="ItemWorkTrendMore.aspx?ItemID=<%=ItemID %>"><asp:Literal runat="server" ID="litItemName"></asp:Literal></a>> <a href="MassesVoiceMore.aspx?ItemID=<%=ItemID %>">驻点直联工作室信息</a>
    </div>
    <div class="cztable" style="margin-top: 20px;">
        <table class="table_b" border="0" cellspacing="0" cellpadding="0">
            <tr class="tr_b">
                <td class="tdbar" colspan="4" style="text-align: center">
                    <h5>驻点直联工作室信息</h5>
                </td>
            </tr>
            <tr class="tr_b">
                <th class="th_b">名称：</th>
                <td class="td_b" colspan="3">
                    <asp:Literal ID="txtTitle" runat="server"></asp:Literal>
                </td>
            </tr>

            <tr class="tr_b">
                <th class="th_b">所属组织：</th>
                <td class="td_b" colspan="3">
                    <asp:Literal ID="litBranchName" runat="server"></asp:Literal>
                </td>
            </tr>

            <tr class="tr_b">
                <th class="th_b">联系人：</th>
                <td class="td_b" colspan="3">
                    <asp:Literal ID="litLinkMan" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr class="tr_b">
                <th class="th_b">联系电话：</th>
                <td class="td_b" colspan="3">
                    <asp:Literal ID="litLinkMobileNo" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr class="tr_b">
                <th class="th_b">联系时间：</th>
                <td class="td_b" colspan="3">
                    <asp:Literal ID="litLinkTime" runat="server"></asp:Literal>
                </td>
            </tr>
            <tr class="tr_b">
                <th class="th_b">联系地址：</th>
                <td class="td_b" colspan="3">
                    <asp:Literal ID="litLinkAddress" runat="server"></asp:Literal>
                </td>
            </tr>
        </table>
    </div>
    <div class="cztable"  style="margin-top: 20px;">
        <table class="table_b" border="0" cellspacing="0" cellpadding="0">
            <tr class="tr_b ">
                <td class="tdbar" colspan="4" style="text-align: center">
                    <h5>团队成员</h5>
                </td>
            </tr>
            <tr class="tr_b">
                <td style="text-align:left;padding: 0;" class="td_b">
                    <div class="ny_box" style="min-height: 460px">
                        <asp:Repeater ID="rptPost" runat="server">
                            <ItemTemplate>
                                <div>
                                    <div>
                                        <h4 style="height:50px;color: #171717;padding-left: 20px; font-size:12px;border-bottom: 1px solid #e8e8e8;line-height:50px;"><%# Eval("DDicMemberName") %></h4>
                                    </div>
                                    <ul class="ulimg">
                                        <asp:Repeater ID="rptLeader" runat="server">
                                            <ItemTemplate>
                                                <li class="imgbox">
                                                    <a href="javascript:void(0);" target="_blank" style="display: inline-block; width: 122px; cursor: default">
                                                        <div class="nailthumb-container ">
                                                            <img style="width: 122px; height: 140px" src='<%#  UpFileBusiness.GetFileUrl(Convert.ToString(Eval("ImageID")))%>' />
                                                        </div>
                                                    </a>
                                                    <div class="titled"><%# Eval("UserName") %></div>
                                                    <div class="titled" style="color: red; height: inherit"><%# Eval("Post") %></div>
                                                </li>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                    </ul>
                                    <div style="clear: both"></div>
                                </div>
                            </ItemTemplate>
                        </asp:Repeater>
                    </div>
                </td>
            </tr>
        </table>
    </div>
	<script>
		$(function () {
			var lh = $(".mp_left").height();
			var rh = $(".mp_right").height();	
			if (lh < rh) {
				$(".mp_left").height(rh + 40);
			} else {
				$(".mp_right").height(lh - 40);				
			}
		});
	</script>
</asp:Content>
